import { formatDate } from '@/util'
let data = {
  form: {
    storeId: '',
    sn: '',
    thirdPaySn: '',
    receiverInfo: '',
    salesmanSalesId: '',
    provinceName: '',
    cityName: '',
    areaName: '',
    date: [formatDate(new Date(new Date() - 1000 * 60 * 60 * 24 * 30)), formatDate(new Date())],
    afterSaleStatus: null,
    distributorId: null,
    provinceId: null,
    cityId: null,
    areaId: null,
    orderStatus: null,
    keyword: null,
    orderSource: null
  },
  options: {
    salesmanSalesId: [],
    orderSource: [{
      value: 0,
      label: '云店'
    }, {
      value: 1,
      label: '门店'
    }, {
      value: 2,
      label: '散户'
    }, {
      value: 3,
      label: '天猫'
    }, {
      value: 4,
      label: '京东'
    }, {
      value: 5,
      label: '其他'
    }, {
      value: 6,
      label: '小程序'
    }],
    factoryOrderStatus: [{
      value: -1,
      label: '全部',
      active: true
    }, {
      value: 0,
      label: '待付款',
      active: false
    }, {
      // value: 11,
      label: '待排单',
      active: false
    }, {
      value: 3,
      label: '待发货',
      active: false
    }, {
      value: 5,
      label: '已发货',
      active: false
    }, {
      value: 6,
      label: '已完成',
      active: false
    }, {
      value: 1,
      label: '已取消',
      active: false
    }, {
      value: 2,
      label: '已关闭',
      active: false
    },
    // {
    //   value: 4,
    //   label: '部分发货',
    //   active: false
    // }, 
    ],
    invite_status: [{
      value: 1,
      label: '待接单'
    }, {
      value: 2,
      label: '接单'
    }, {
      value: 3,
      label: '拒绝'
    }],
    is_finish: [{
      value: 1,
      label: '完成'
    }, {
      value: 0,
      label: '进行中'
    }],
    afterSaleStatus: [{
      value: 1,
      label: '待付款'
    }, {
      value: 2,
      label: '已接单'
    }, {
      value: 3,
      label: '已完成'
    }, {
      value: 4,
      label: '已付款'
    }],
    colorArr: [{
      value: 0,
      text: '#f05050',
      color: 'red'
    }, {
      value: 1,
      text: '#ff9d5b',
      color: 'orange'
    }, {
      value: 2,
      text: '#fb0',
      color: 'yellow'
    }, {
      value: 3,
      text: '#21c064',
      color: 'green'
    }, {
      value: 4,
      text: '#6cf',
      color: 'verdant'
    }, {
      value: 5,
      text: '#2d8cf0',
      color: 'blue'
    }, {
      value: 6,
      text: '#a080ff',
      color: 'purple'
    }],
    sourceList: [{
      value: 1,
      label: '车空间商城'
    }, {
      value: 3,
      label: '天猫'
    }, {
      value: 4,
      label: '京东'
    }, {
      value: 5,
      label: '其他'
    }],
    freightTemplate: []
  },
  status: 'pass',
  totalItem: 1,
  pageSize: window.$pageSize,
  currentPage: 1,
  columns: [{
    title: '款号/款式',
    align: 'left',
    width: '33%'
  }, {
    title: '版本批号',
    align: 'left',
    width: '9%'
  }, {
    title: '来源',
    align: 'left',
    width: '10%'
  }, {
    title: '款式属性',
    align: 'left',
    width: '8%'
  }, {
    title: '订单状态/订单文件',
    align: 'left',
    width: '13%'
  }, {
    title: '需求描述',
    align: 'left',
    width: '13%'
  },  {
    title: '操作',
    align: 'left',
    width: '13%'
  }],
  data: []
}

export default data